package org.wisigoth.chat.client.jabber;

import org.wisigoth.chat.client.Avatar;
import org.wisigoth.chat.client.Contact;
import org.wisigoth.chat.client.Presence;
import org.wisigoth.chat.client.WisigothUser;

public class ContactImpl implements Contact {

	private WisigothUser username;
	private Presence presence;
	private AvatarImpl avatar;

	public ContactImpl(WisigothUser username, Presence presence,
			AvatarImpl avatar) {
		this.username = username;
		this.presence = presence;
		this.avatar = avatar;
	}

	@Override
	public Avatar getAvatar() {
		return this.avatar;
	}

	@Override
	public Presence getPresence() {
		return this.presence;
	}

	@Override
	public WisigothUser getUser() {
		return this.username;
	}

}
